package com.airticketbooking.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;


@Data
public class OrderDTO implements Serializable {
	private static final long serialVersionUID = -73667947968854392L;

	private Integer orderId;

	private Integer userId;

	@JsonFormat(pattern = "yyyy-MM-dd")
	private LocalDate startDate;

	@JsonFormat(pattern = "yyyy-MM-dd")
	private LocalDate endDate;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime orderDateTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime upadateDateTime;



	private Integer status;

	private BigDecimal totalPrice;

	private BigDecimal discountAmount;


	private Integer paymentMethod;


	List<Integer> ticketIds;

}

